<template>
	<div class="layer">
		<div class="layer-main">
			<div class="layer-header" @click="layerHide"></div>
			<slot></slot>
		</div>
	</div>
</template>

<script>
	export default {
		name: "layer",
		methods: {
			layerHide() {
				this.$emit('layerHide')
			}
		}
	}
</script>
